<?php
/*
 *author:Yangligao
 *Date:2013-9-28
 */
class AdvModel{
	private $tableName='advposition';
	
	function adv_insert($arr){
		return DB::insert($this->tableName, $arr);
	}
	
	function adv_select($columList="*",$where='',$limit='',$order='',$group=''){
	
		return DB::select($this->tableName, $columList,$where,$limit,$order,$group);
	}
	
	function adv_update($arr){
		return Db::update($this->tableName, $arr, 'flink_id');
	}
	
	function adv_delete($arr){
		return Db::delete($this->tableName, $arr);
	}
}
?>